package com.example.module_home.testmvi

import com.ivideo.home.model.entity.MutilTypeEntity
import com.ivideo.home.model.entity.SimpleTypeEntity

/**
 * @author yaotianxue
 * @description State状态
 * @date 2024/10/25
 */
sealed class VideoTypeState {
    object Loading:VideoTypeState() //数据加载中
    object Empty:VideoTypeState() //空数据
    data class Error(val msg:String):VideoTypeState() //失败
    data class GetSimpleTypeSuccess(val data:List<SimpleTypeEntity>):VideoTypeState() //成功
    data class GetMutilTypeSuccess(val data:List<MutilTypeEntity>):VideoTypeState() //成功
    data class GetMutilTypeByPidSuccess(val data:List<MutilTypeEntity>):VideoTypeState() //成功




}